package com.zusmart.base.activity;

public interface Activity<A extends Activity<A>> {

	public void start() throws Exception;

	public void close() throws Exception;

	public void addListener(ActivityListener<A> listener);

	public void delListener(ActivityListener<A> listener);

	public boolean isFailed();

	public boolean isRunning();

	public boolean isStopped();

	public boolean isStarting();

	public boolean isStopping();

}